home *** CD-ROM | disk | FTP | other *** search
/ Aminet 49 / Aminet 49 (2002)(GTI - Schatztruhe)[!][Jun 2002].iso / Aminet / util / libs / ttrender.lha / ttrender-2.0 / Developer / source / sfnt / ttload.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-04-06  |  3.7 KB  |  138 lines

  1. /***************************************************************************/
  2. /*                                                                         */
  3. /*  ttload.h                                                               */
  4. /*                                                                         */
  5. /*    Load the basic TrueType tables, i.e., tables that can be either in   */
  6. /*    TTF or OTF fonts (specification).                                    */
  7. /*                                                                         */
  8. /*  Copyright 1996-2001 by                                                 */
  9. /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
  10. /*                                                                         */
  11. /*  This file is part of the FreeType project, and may only be used,       */
  12. /*  modified, and distributed under the terms of the FreeType project      */
  13. /*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
  14. /*  this file you indicate that you have read the license and              */
  15. /*  understand and accept it fully.                                        */
  16. /*                                                                         */
  17. /***************************************************************************/
  18.  
  19.  
  20. #ifndef __TTLOAD_H__
  21. #define __TTLOAD_H__
  22.  
  23.  
  24. #include <ft2build.h>
  25. #include FT_INTERNAL_STREAM_H
  26. #include FT_INTERNAL_TRUETYPE_TYPES_H
  27.  
  28.  
  29. FT_BEGIN_HEADER
  30.  
  31.  
  32.   FT_LOCAL TT_Table*
  33.   TT_LookUp_Table( TT_Face   face,
  34.                    FT_ULong  tag );
  35.  
  36.   FT_LOCAL FT_Error
  37.   TT_Goto_Table( TT_Face    face,
  38.                  FT_ULong   tag,
  39.                  FT_Stream  stream,
  40.                  FT_ULong*  length );
  41.  
  42.  
  43.   FT_LOCAL FT_Error
  44.   TT_Load_SFNT_Header( TT_Face       face,
  45.                        FT_Stream     stream,
  46.                        FT_Long       face_index,
  47.                        SFNT_Header*  sfnt );
  48.  
  49.   FT_LOCAL FT_Error
  50.   TT_Load_Directory( TT_Face       face,
  51.                      FT_Stream     stream,
  52.                      SFNT_Header*  sfnt );
  53.  
  54.   FT_LOCAL FT_Error
  55.   TT_Load_Any( TT_Face    face,
  56.                FT_ULong   tag,
  57.                FT_Long    offset,
  58.                FT_Byte*   buffer,
  59.                FT_ULong*  length );
  60.  
  61.  
  62.   FT_LOCAL FT_Error
  63.   TT_Load_Header( TT_Face    face,
  64.                   FT_Stream  stream );
  65.  
  66.  
  67.   FT_LOCAL FT_Error
  68.   TT_Load_Metrics_Header( TT_Face    face,
  69.                           FT_Stream  stream,
  70.                           FT_Bool    vertical );
  71.  
  72.  
  73.   FT_LOCAL FT_Error
  74.   TT_Load_CMap( TT_Face    face,
  75.                 FT_Stream  stream );
  76.  
  77.  
  78.   FT_LOCAL FT_Error
  79.   TT_Load_MaxProfile( TT_Face    face,
  80.                       FT_Stream  stream );
  81.  
  82.  
  83.   FT_LOCAL FT_Error
  84.   TT_Load_Names( TT_Face    face,
  85.                  FT_Stream  stream );
  86.  
  87.  
  88.   FT_LOCAL FT_Error
  89.   TT_Load_OS2( TT_Face    face,
  90.                FT_Stream  stream );
  91.  
  92.  
  93.   FT_LOCAL FT_Error
  94.   TT_Load_PostScript( TT_Face    face,
  95.                       FT_Stream  stream );
  96.  
  97.  
  98.   FT_LOCAL FT_Error
  99.   TT_Load_Hdmx( TT_Face    face,
  100.                 FT_Stream  stream );
  101.  
  102.   FT_LOCAL FT_Error
  103.   TT_Load_PCLT( TT_Face    face,
  104.                 FT_Stream  stream );
  105.  
  106.   FT_LOCAL void
  107.   TT_Free_Names( TT_Face  face );
  108.  
  109.  
  110.   FT_LOCAL void
  111.   TT_Free_Hdmx ( TT_Face  face );
  112.  
  113.  
  114.   FT_LOCAL FT_Error
  115.   TT_Load_Kern( TT_Face    face,
  116.                 FT_Stream  stream );
  117.  
  118.  
  119.   FT_LOCAL FT_Error
  120.   TT_Load_Gasp( TT_Face    face,
  121.                 FT_Stream  stream );
  122.  
  123. #ifdef TT_CONFIG_OPTION_EMBEDDED_BITMAPS
  124.  
  125.   FT_LOCAL FT_Error
  126.   TT_Load_Bitmap_Header( TT_Face    face,
  127.                          FT_Stream  stream );
  128.  
  129. #endif /* TT_CONFIG_OPTION_EMBEDDED_BITMAPS */
  130.  
  131.  
  132. FT_END_HEADER
  133.  
  134. #endif /* __TTLOAD_H__ */
  135.  
  136.  
  137. /* END */
  138.